


import 'package:elmer_tools/common/dataBase/ColumnType.dart';
import 'package:elmer_tools/common/dataBase/DataTable.dart';
import 'package:elmer_tools/common/dataBase/TypeInt.dart';
import 'package:elmer_tools/common/dataBase/TypeString.dart';
import 'package:elmer_tools/common/dataBase/TypeText..dart';

class ConfigTable implements DataTable {
    @override
    String get tableName => "configuration";

    @override
    List<ColumnType> get columns => [
        TypeInt("id", primaryKey: true, notNull: true, autoIncrement: true),
        TypeString("name", notNull: true, unique: true, length: 50 ),
        TypeText("value", defaultValue: ""),
        TypeInt("version", defaultValue: 1),
    ];

}